#ifndef QOBJECTFACE_H
#define QOBJECTFACE_H
#include <QObject>
#include <FaceEngine.h>
#include <opencv2/opencv.hpp>
#include <QDebug>

class qobjectface : public QObject
{
    Q_OBJECT
public:
    explicit qobjectface(QObject *parent = nullptr);
    ~qobjectface();
signals:
    void send_faceid(int64_t faceid);//返回faceid的信号
public slots:
    int64_t face_register(cv::Mat&faceimage);//该函数用来人脸注册
    int face_query(cv::Mat&faceimage);//该函数 用来进行查找
signals:
private:
    seeta::FaceEngine *ptr;//该指针用于调用底层的注册函数，底层的查找函数，用于构建人脸引擎库模型

};

#endif // QOBJECTFACE_H
